package com.xuerhua.yxt.dao;

import java.util.List;

import com.xuerhua.yxt.model.SysResource;
import com.xuerhua.yxt.page.Page;
import org.apache.ibatis.annotations.Param;

public interface SysResourceMapper {

    int insertSelective(SysResource record);

    SysResource selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysResource record);

    List<SysResource> selectMenuByIds(String ids);
    
    List<SysResource> selectPageByIds(@Param("ids") String ids, @Param("schoolId")Integer schoolId);
    
    List<SysResource> selectByPage(Page<SysResource> page);
	
    List<SysResource> selectByParam(SysResource record);
    
	int addAndUpdateSysResource(SysResource record);
	
	int updateBatchDel(List<Integer> ids);
}